package com.njitt.bysj.mapper;

import com.njitt.bysj.base.BaseMapper;
import com.njitt.bysj.bean.BomBean;
import com.njitt.bysj.model.BomModel;
import com.njitt.bysj.query.BomQuery;

import java.util.List;

public interface BomBeanMapper extends BaseMapper<BomBean, Integer> {
    Integer insertBatchList(List<BomModel> list);

    List<BomBean> selectByParams(BomQuery bomQuery);

    Integer selectBomCountByProjectNoAndMaterialNo(String projectNo, String materialNo);

    List<String> selectBomMaterialNoByAddSup(String projectNo);
}